Module-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val CHARGES: text = "charges"
Link copied to clipboard
val CHARGES_LEFT: text = "charges_left"
Link copied to clipboard
val DURABILITY_COST: text = "durability_cost"
Link copied to clipboard
val GROUND_TYPE: text = "ground_type"
Link copied to clipboard
val HARVEST_TIME: text = "harvest_time"
Link copied to clipboard
val LOOT_TABLE_NAME: text = "loot_table_name"
Link copied to clipboard
val NEXT_GATHERABLE_AT: text = "next_gatherable_at"
Link copied to clipboard
val REPLENISH_DURATION: text = "replenish_duration"
Link copied to clipboard
val TIER: text = "tier"
Link copied to clipboard
val TOOL_CATEGORY: text = "tool_category"
Link copied to clipboard
val TOOL_PROTOTYPE_NAME: text = "tool_prototype_name"

Functions

Link copied to clipboard
function deplete_resource_node(resource_node: resource_node)
Link copied to clipboard
function do_gather(resource_node: resource_node, gather_dto: node_action_dto, account_id: byte_array)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function get_tool_name(args: map<text, gtv>): text
Link copied to clipboard
Link copied to clipboard
@extend(on_node_creation) function on_node_creation(node: node, node_prototype_name: text, args: map<text, gtv>)
Link copied to clipboard
@extend(on_node_prototype_creation) function on_node_prototype_creation(base_node_prototype: base_node_prototype, args: map<text, gtv>)
Link copied to clipboard
@extend(on_node_prototype_update) function on_node_prototype_update(base_node_prototype: base_node_prototype, args: map<text, gtv>)

Queries

Link copied to clipboard
@mount("resource_nodes.get_global_resource_nodes_config") query get_global_resource_nodes_config(): (fast_replenish_duration: integer,)

Operations

Link copied to clipboard
@mount("resource_nodes.gather") operation gather(account_id: byte_array, auth_descriptor_id: byte_array, gather_actions: list<node_action_dto>)
Link copied to clipboard
@mount("resource_nodes.set_global_resource_nodes_config") operation set_global_resource_nodes_config(fast_replenish_duration: integer)